AppHomeContentWrapper

@Composable
fun AppHomeContentWrapper(modifier: Modifier, pagerState: PagerState, partitionedApplications: MutableState<Pair<List<Application>, List<Application>>>, selectedDevice: Device = Device(), socket: Socket = LocalSocket.current, selectedApp: Application = Application(), onAppSelected: (Application) -> Unit = {})

This is the main application content wrapper. It sets up the main application content area.

Parameters

modifier

The modifier for the content wrapper.

pagerState

The pager state for the content wrapper.

partitionedApplications

The partitioned applications for the content wrapper.

selectedDevice

The selected device for the content wrapper.

socket

The socket connection for the content wrapper.

selectedApp

The selected application for the content wrapper.

onAppSelected

A function to be called when an application is selected.

Example usage:

AppHomeContentWrapper(
modifier = Modifier.fillMaxSize(),
pagerState = pagerState,
partitionedApplications = partitionedApplications,
selectedDevice = selectedDevice,
socket = socket,
selectedApp = selectedApp
) {
selectedApp = it
}